using PowerManage.Entity.Dtos.Roles;

namespace PowerManage.Service;

public interface IRoleService
{
    /// <summary>
    /// 角色搜索
    /// </summary>
    /// <param name="rolePageReqDto"></param>
    /// <returns></returns>
    Task<RolePageRspDto> Query(RolePageReqDto rolePageReqDto);

    /// <summary>
    /// 获取所有角色列表
    /// </summary>
    /// <returns></returns>
    Task<List<RoleDto>> GetAll();
}